/*
 * SubServerInfo.java
 *
 * Created on August 11, 2006, 4:47 PM
 *
 */
package org.letva.copie.common.message;

import java.io.*;

/**
 *
 * @author Vuk Nikolic
 */
public class SubServerInfo implements Serializable {

	/** Creates a new instance of SubServerInfo */
	public SubServerInfo(String u, int m) {
		setUrl(u);
		setMainServerPort(m);
	}
	private String url = null;
	private int mainServerPort = 4444;
	private int subServerPort = 3333;
	private int clientPort = 2222;
	private int id;
	private int networkOperations = 0;
	private boolean clipboardStatus = false;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getMainServerPort() {
		return mainServerPort;
	}

	public void setMainServerPort(int mainServerPort) {
		this.mainServerPort = mainServerPort;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getSubServerPort() {
		return subServerPort;
	}

	public void setSubServerPort(int subServerPort) {
		this.subServerPort = subServerPort;
	}

	public int getClientPort() {
		return clientPort;
	}

	public void setClientPort(int clientPort) {
		this.clientPort = clientPort;
	}

	public int getNetworkOperations() {
		return networkOperations;
	}

	public void setNetworkOperations(int networkOperations) {
		this.networkOperations = networkOperations;
	}

	public boolean getClipboardStatus() {
		return clipboardStatus;
	}

	public void setClipboardStatus(boolean clipboardStatus) {
		this.clipboardStatus = clipboardStatus;
	}
}
